package campus.dao;
import campus.model.TUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
public interface TUserDao {
    TUser selectUserById(@Param("userId") Long userId);

    TUser selectUserByPhoneOrEmail(@Param("emailOrPhone") String emailOrPhone, @Param("state") Short state);

    List<TUser> selectAllUser();

    int selectCount();
}